//
//  TPBaseViewController.h
//  TradingPlatform
//
//  Created by 程强 on 15/10/23.
//  Copyright © 2015年 程强. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TPBaseViewController : UIViewController
typedef void (^LoginSuccess)();
@property (copy, nonatomic) LoginSuccess loginSuccess;

typedef void (^DelayBlock)();
@property (copy, nonatomic) DelayBlock delayBlock;
- (void)performBlock:(void(^)())block delay:(CGFloat)delay;


- (void)setLeftBarItem;
- (void)gotoBack;
- (void)showHUD;
- (void)hideHUD;
- (void)showMessageHUD:(NSString *)str;
- (void)showMessageHUD:(NSString *)msg delayHide:(NSTimeInterval)delay;
@end
